package y_2025.m04.d18.t03;

public abstract class Game {
    protected abstract void play();
}

class Football extends Game {
    @Override
    protected void play() {
        System.out.println("Playing football: kicking the ball");
    }
}

class Basketball extends Game {
    @Override
    protected void play() {
        System.out.println("Playing basketball: dribbling and shooting");
    }
}

class Popolong extends Game {  // 假设这是某种特定游戏
    @Override
    protected void play() {
        System.out.println("Playing popolong: special rules apply");
    }
}